<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
       h1{
        color:red;
       }
    </style>
</head>
<body>
    <h1>1111</h1>
    <script>
        // js语句结束是分号，虽然可以省略，但不建议省略
        // console.log("aaa");
        // console.log("bbb");

        //声明变量  var 关键词  var 变量名=变量值;   = 赋值
        // var age=18;
        // age=23;//重新赋值
        // age=33;//重新赋值
        // console.log(age);

        // var age1=10;
        // var age2=20;
        // var age3=30;
       
        //声明多个变量
        // var age1=10,age2=20,age3=30;
        // console.log(age1,age2,age3);


        var age_1=10;
        var Age$2=20;
        console.log(age_1,Age$2);

        

    </script>
</body>
</html>